﻿using EasyAdmin.Domain.Entities.Systems;
using EasyCore.ObjectMapper;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EasyAdmin.Application.Contracts.Systems.Menus.Dtos
{
    [MapTo(typeof(SysMenuOperation))]
    [MapFrom(typeof(SysMenuOperation))]
    public class CreateUpdateMenuOperation
    {
        /// <summary>
        /// 唯一标识
        /// </summary>
      
        public long? Id { get; set; }

        /// <summary>
        /// 菜单唯一标识
        /// </summary>      
        public long MenuId { get; set; }

        /// <summary>
        /// 按钮编码
        /// </summary>      
        public string OperationCode { get; set; }

        /// <summary>
        /// 按钮名称
        /// </summary>       
        public string OperationName { get; set; }

        /// <summary>
        /// 是否禁用
        /// </summary>       
        public bool IsDisabled { get; set; }

        /// <summary>
        /// 排序
        /// </summary>       
        public int OrderSort { get; set; }
    }
}
